package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.common.data.web.response.Params;
import com.engine4cloud.tdf.supervision.dto.create.KhjcRewardPunishmentCreateDTO;
import com.engine4cloud.tdf.supervision.dto.query.KhjcRewardPunishmentQueryDTO;
import com.engine4cloud.tdf.supervision.dto.result.KhjcRewardPunishmentResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.KhjcRewardPunishmentUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxRewardPunishmentEntity;

public interface KhjcRewardPunishmentService extends IService<JzdxRewardPunishmentEntity> {

    PageInfo<KhjcRewardPunishmentResultDTO> pageList(Params page, KhjcRewardPunishmentQueryDTO dto);

    KhjcRewardPunishmentResultDTO getById(Long id);

    Boolean create(KhjcRewardPunishmentCreateDTO dto);

    Boolean update(KhjcRewardPunishmentUpdateDTO dto);
}